<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../common/IncludeTop.jsp"%>
<%@page import = "java.util.*,dao.*,domain.*" %>
<head>
</head>
<body>
<script type="text/javascript">

			function check(){
				var a=document.form.password.value;
				var b=document.form.password1.value;
				var tip=document.getElementById("tip");
				if(a!=b){					
					tip.value="两次密码不一致！";
					tip.style.display="block";
				}else{
					tip.style.display="none";
				}
			}
</script>	
<div id = "content">
<center>
<form action="/mypestroe/mypetstroe_Servlet/RegisteredServlet" method="post">		
	&nbsp; &nbsp;&nbsp;用&nbsp;&nbsp;&nbsp;户&nbsp;&nbsp;&nbsp;名 <input type="text" name="username" /><br/>
	  &nbsp;密  &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码 <input type="password" name="password" /><br/>
	   再输入密码 <input  type="password" name="password1" onmouseout="check()"/>
	 <tr><td><p id="tip"></p></td></tr>
	 &nbsp;&nbsp; 邮 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 箱 <input type="text" name ="email"/><br>
	 &nbsp; &nbsp;出&nbsp;生&nbsp;日&nbsp;期 <input type="text" name="birthday"><br>
	<input type="submit" value="注册"/>
	<input type="reset" value="取消" >
</form>
</center>
</div> 
</body>
</head>
<%@include file="../common/IncludeBottom.jsp"%>